package com.syt.statistics;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: xxx
 * @Date: 2023/3/2 20:08
 * @Description: 统计启动类
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@ComponentScan("com.syt")
@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.syt.client")
public class ServiceStatisticsApplication {
    public static void main(String[] args) {
        System.out.println("统计服务：8208");
        SpringApplication.run(ServiceStatisticsApplication.class,args);
    }
}
